<template>
  <van-nav-bar
    :title="title"
    left-text="返回"
    left-arrow
    @click-left="onClickLeft"
  />
</template>

<script setup lang="ts">
const onClickLeft = () => history.back();
interface INavProps {
  title?: string;
}
defineProps<INavProps>();
</script>

<style scoped></style>
